<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
 	
  <head>
     <title>jQuery Mobile Demo</title>
	
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
   
    <meta name="viewport" content="width=device-width,height=device-height, initial-scale=1, maximum-scale=1.5">

	<%@ include file="/common/include.jsp" %> 
    <script type="text/javascript" src="js/login.js"></script>
  </head>
  
  <body>

   
    <div data-role="page" id="formPage">
    	<header data-role="header">
    		<h1>用户登录</h1>
    	</header>
    	<div data-role="content">
    		
    		<form id="login_form" action="../servlet/LoginServlet" method="post">
    			<!-- 
	   			<div data-role="fieldcontain">
	   				<label for="user_name" >用户名</label>
	   				<input id="user_name" name="user_name"  value="" type="text">
	   			</div>
	   			<div data-role="fieldcontain">
				    <label for="password">密码</label>
				    <input id="password" name="password"  value="" type="password">
				</div>
				
				<div style="text-align:center;vertical-align:middle;" >
				   <a data-role="button" data-inline="true" href="javascript:login_form_submit();"  >提交</a>
				   <a data-role="button" data-inline="true" href="javascript:weibo_account_submit_onClick();"  >使用新浪帐号登录</a>
				</div>
				 -->
			 <div style="text-align:center;vertical-align:middle;">
				 <a data-role="button" data-inline="true" href="javascript:weibo_account_submit_onClick();"  >使用新浪帐号登录</a>
			 </div>
			</form>
				
    	</div>
    	<div data-role="footer">
    		<h1>make by Ants</h1>
    	</div>
    </div>
  </body>
</html>
